package br.com.tenax.dao;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class Carga {
	
	public static void main(String[] args) {
		gerarBanco();
	}
	
	public static void gerarBanco() {
		Configuration cfg = new AnnotationConfiguration();
		cfg.configure();
		SchemaExport se = new SchemaExport(cfg);
		se.create(true, true);
	}

}
